#+TITLE: Org mode locale for timestamps/dates
#+AUTHOR: Zelphir Kaltstahl
#+STARTUP: content
#+STARTUP: indent
#+STARTUP: align
#+STARTUP: inlineimages
#+STARTUP: hideblocks
#+STARTUP: entitiesplain
#+STARTUP: nologdone
#+STARTUP: nologreschedule
#+STARTUP: nologredeadline
#+STARTUP: nologrefile
#+TODO: TODO INPROGRESS | DONE CANCELLED
#+DATE: [2023-01-31 Di]
#+LANGUAGE: English
#+PRIORITIES: A E E
#+KEYWORDS: config emacs org-mode date time locale

* About

Org mode inserts timestamps or dates with an abbreviated weekday
name. This weekday name is written in some language, that depends on
the locale.

* Configuration

To make org mode always use English weekday names use the following snippet:

#+begin_src elisp
;; locale for timestamps/dates
(setq calendar-week-start-day 1
      calendar-day-name-array
      ["Sunday" "Monday" "Tuesday" "Wednesday" "Thursday" "Friday" "Saturday"]
      calendar-month-name-array
      ["January" "February" "March" "April" "May"
       "June" "July" "August" "September"
       "October" "November" "December"])

;; locale for timestamps/dates
(set-locale-environment "en_US.UTF-8")
#+end_src
